import { defineStore } from 'pinia'


import { OrderRefreshState } from './type/type'

const useOrderStore =  defineStore('Order',{
    state: (): OrderRefreshState =>{
        return {
            status: 0 // 0:不刷新，1刷新
        }
    },
    actions: {
        modifyStatus(status:number) {
            this.status = status
        }
    },
    getters:{

    }
})

export default useOrderStore